//多个页面指向同一个菜单时请加上属性：
// meta: {
//   dynamic: true,
// }
let viewgird = [
  {
    path: '/Sys_Log',
    name: 'sys_Log',
    component: () => import('@/views/sys/system/Sys_Log.vue')
  },
  {
    path: '/Sys_User',
    name: 'Sys_User',
    component: () => import('@/views/sys/system/Sys_User.vue')
  },
  {
    path: '/permission',
    name: 'permission',
    component: () => import('@/views/sys/Permission.vue')
  },

  {
    path: '/Sys_Dictionary',
    name: 'Sys_Dictionary',
    component: () => import('@/views/sys/system/Sys_Dictionary.vue')
  },
  {
    path: '/Sys_Role',
    name: 'Sys_Role',
    component: () => import('@/views/sys/system/Sys_Role.vue')
  },
  {
    path: '/Sys_Language',
    name: 'Sys_Language',
    component: () => import('@/views/sys/lang/Sys_Language.vue')
  },
  {
    path: '/FormDesignOptions',
    name: 'FormDesignOptions',
    component: () => import('@/views/sys/form/FormDesignOptions.vue')
  },
  {
    path: '/FormCollectionObject',
    name: 'FormCollectionObject',
    component: () => import('@/views/sys/form/FormCollectionObject.vue')
  },
  {
    path: '/Sys_WorkFlow',
    name: 'Sys_WorkFlow',
    component: () => import('@/views/sys/flow/Sys_WorkFlow.vue')
  },
  {
    path: '/Sys_WorkFlowStep',
    name: 'Sys_WorkFlowStep',
    component: () => import('@/views/sys/flow/Sys_WorkFlowStep.vue')
  },
  {
    path: '/Sys_WorkFlowTable',
    name: 'Sys_WorkFlowTable',
    component: () => import('@/views/sys/flow/Sys_WorkFlowTable.vue')
  },
  {
    path: '/Sys_WorkFlowTableStep',
    name: 'Sys_WorkFlowTableStep',
    component: () => import('@/views/sys/flow/Sys_WorkFlowTableStep.vue')
  },
  {
    path: '/flowList',
    name: 'flowList',
    component: () => import('@/views/sys/flow/FlowList.vue')
  },
  {
    path: '/Sys_QuartzOptions',
    name: 'Sys_QuartzOptions',
    component: () => import('@/views/sys/quartz/Sys_QuartzOptions.vue')
  },
  {
    path: '/Sys_QuartzLog',
    name: 'Sys_QuartzLog',
    component: () => import('@/views/sys/quartz/Sys_QuartzLog.vue')
  },
  {
    path: '/Sys_Department',
    name: 'Sys_Department',
    component: () => import('@/views/sys/system/Sys_Department.vue')
  },
  {
    path: '/Sys_DbService',
    name: 'Sys_DbService',
    component: () => import('@/views/sys/db/Sys_DbService.vue')
  },
  {
    path: '/Sys_Group',
    name: 'Sys_Group',
    component: () => import('@/views/sys/group/Sys_Group.vue')
  },
  {
    path: '/Sys_Region',
    name: 'Sys_Region',
    component: () => import('@/views/sys/system/Sys_Region.vue')
  },
  {
    path: '/list',
    name: 'list',
    component: () => import('@/views/example/list.vue')
  },
  {
    path: '/charts1',
    name: 'charts1',
    component: () => import('@/views/example/charts1.vue')
  },
  {
    path: '/Sys_PrintOptions',
    name: 'Sys_PrintOptions',
    component: () => import('@/views/sys/system/Sys_PrintOptions.vue')
  },
  {
    path: '/Sys_ReportOptions',
    name: 'Sys_ReportOptions',
    component: () => import('@/views/sys/system/Sys_ReportOptions.vue')
  },
  {
    path: '/Sys_Dashboard',
    name: 'Sys_Dashboard',
    component: () => import('@/views/sys/dashboard/Sys_Dashboard.vue')
  },
  {
    path: '/DashboardEdit', //工作台设计
    name: 'DashboardEdit',
    component: () => import('@/views/sys/dashboard/DashboardEdit.vue'),
    meta: {
      name: '工作台',
      keepAlive: false
    }
  },
  {
    path: '/DashboardPreview',//工作台预览
    name: 'DashboardPreview',
    component: () => import('@/views/sys/dashboard/DashboardPreview.vue'),
    meta: {
      dynamic: true,
      // keepAlive:false
    }
  },
  {
    path: '/Sys_CodeRule',
    name: 'Sys_CodeRule',
    component: () => import('@/views/sys/rule/Sys_CodeRule.vue')
  }
  , {
    path: '/Sys_Post',
    name: 'Sys_Post',
    component: () => import('@/views/sys/system/Sys_Post.vue')
  }, {
    path: '/MaterialClassfiy',
    name: 'MaterialClassfiy',
    component: () => import('@/views/mes/mes/MaterialClassfiy.vue'),
    meta: {
      keepAlive: false
    }
  },
  {
    path: '/Sys_NotificationLog',
    name: 'Sys_NotificationLog',
    component: () => import('@/views/sys/notification/Sys_NotificationLog.vue')
  }, {
    path: '/Sys_NotificationTemplate',
    name: 'Sys_NotificationTemplate',
    component: () => import('@/views/sys/notification/Sys_NotificationTemplate.vue')
  }, {
    path: '/Sys_Notification',
    name: 'Sys_Notification',
    component: () => import('@/views/sys/notification/Sys_Notification.vue')
  },
  {
    path: "/Sys_ActionLog",
    name: "Sys_ActionLog",
    component: () => import("@/views/sys/log/Sys_ActionLog.vue"),
  },
  {
    path: '/Material',
    name: 'Material',
    component: () => import('@/views/mes/mes/Material.vue'),
    meta: {
      keepAlive: false
    }
  }, {
    path: '/MaterialTree',
    name: 'MaterialTree',
    component: () => import('@/views/mes/mes/Material/MaterialTree.vue'),
    meta: {
      keepAlive: false
    }
  }
  , {
    path: '/Department',
    name: 'Department',
    component: () => import('@/views/mes/mes/Department.vue')
  }, {
    path: '/DeviceClassfiy',
    name: 'DeviceClassfiy',
    component: () => import('@/views/mes/mes/DeviceClassfiy.vue'),
    meta: {
      keepAlive: false
    }
  }, {
    path: '/Device',
    name: 'Device',
    component: () => import('@/views/mes/mes/Device.vue')
  }, {
    path: '/ProductProcess',
    name: 'ProductProcess',
    component: () => import('@/views/mes/mes/ProductProcess.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductionGroup',
    name: 'ProductionGroup',
    component: () => import('@/views/mes/mes/ProductionGroup.vue')
  }, {
    path: '/MaterialsBom',
    name: 'MaterialsBom',
    component: () => import('@/views/mes/mes/MaterialsBom.vue'),
    meta: {
      dynamic: true,
    }
  }
  , {
    path: '/BomTree',
    name: 'BomTree',
    component: () => import('@/views/mes/mes/BomTree.vue'),
    meta: {
      dynamic: true,
    }
  }
  , {
    path: '/MaterialUnit',
    name: 'MaterialUnit',
    component: () => import('@/views/mes/mes/MaterialUnit.vue')
  }, {
    path: '/Supply',
    name: 'Supply',
    component: () => import('@/views/mes/mes/Supply.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/Employee',
    name: 'Employee',
    component: () => import('@/views/mes/mes/Employee.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/TechnologicalProcess',
    name: 'TechnologicalProcess',
    component: () => import('@/views/mes/mes/TechnologicalProcess.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/Customer',
    name: 'Customer',
    component: () => import('@/views/mes/mes/Customer.vue')
  }, {
    path: '/ProductPlan',
    name: 'ProductPlan',
    component: () => import('@/views/mes/mes/ProductPlan.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductPlanDetail',
    name: 'ProductPlanDetail',
    component: () => import('@/views/mes/mes/ProductPlanDetail.vue')
  }, {
    path: '/ProductTask',
    name: 'ProductTask',
    component: () => import('@/views/mes/mes/ProductTask.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductTaskProcess',
    name: 'ProductTaskProcess',
    component: () => import('@/views/mes/mes/ProductTaskProcess.vue')
  }, {
    path: '/ProductNotice',
    name: 'ProductNotice',
    component: () => import('@/views/mes/mes/ProductNotice.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductAssign',
    name: 'ProductAssign',
    component: () => import('@/views/mes/mes/ProductAssign.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProcessDetail',
    name: 'ProcessDetail',
    component: () => import('@/views/mes/mes/ProcessDetail.vue')
  }, {
    path: '/ProductWorkShop',
    name: 'ProductWorkShop',
    component: () => import('@/views/mes/mes/ProductWorkShop.vue')
  }, {
    path: '/ProductProcessReport',
    name: 'ProductProcessReport',
    component: () => import('@/views/mes/mes/ProductProcessReport.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/OutsourceNotice',
    name: 'OutsourceNotice',
    component: () => import('@/views/mes/mes/OutsourceNotice.vue')
  }, {
    path: '/OutsourceProcessReport',
    name: 'OutsourceProcessReport',
    component: () => import('@/views/mes/mes/OutsourceProcessReport.vue')
  }, {
    path: '/MaterialUsedList',
    name: 'MaterialUsedList',
    component: () => import('@/views/mes/mes/MaterialUsedList.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/MaterialUsedListDetail',
    name: 'MaterialUsedListDetail',
    component: () => import('@/views/mes/mes/MaterialUsedListDetail.vue')
  }, {
    path: '/ProductPickMaterial',
    name: 'ProductPickMaterial',
    component: () => import('@/views/mes/mes/ProductPickMaterial.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/Stock',
    name: 'Stock',
    component: () => import('@/views/mes/mes/Stock.vue')
  }, {
    path: '/Location',
    name: 'Location',
    component: () => import('@/views/mes/mes/Location.vue')
  }, {
    path: '/StockIn',
    name: 'StockIn',
    component: () => import('@/views/mes/mes/StockIn.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/StockInDetail',
    name: 'StockInDetail',
    component: () => import('@/views/mes/mes/StockInDetail.vue')
  }, {
    path: '/WorkHourReport',
    name: 'WorkHourReport',
    component: () => import('@/views/mes/mes/WorkHourReport.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductPickMaterialDetail',
    name: 'ProductPickMaterialDetail',
    component: () => import('@/views/mes/mes/ProductPickMaterialDetail.vue')
  }, {
    path: '/CostCalculationRecord',
    name: 'CostCalculationRecord',
    component: () => import('@/views/co/co/CostCalculationRecord.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/Period',
    name: 'Period',
    component: () => import('@/views/co/co/Period.vue')
  }, {
    path: '/ProductStockInAccount',
    name: 'ProductStockInAccount',
    component: () => import('@/views/co/co/ProductStockInAccount.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProductMaterialAccount',
    name: 'ProductMaterialAccount',
    component: () => import('@/views/co/co/ProductMaterialAccount.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/InspectionProject',
    name: 'InspectionProject',
    component: () => import('@/views/mes/mes/InspectionProject.vue')
  }, {
    path: '/InspectionPlan',
    name: 'InspectionPlan',
    component: () => import('@/views/mes/mes/InspectionPlan.vue')
  }, {
    path: '/ProcessInspection',
    name: 'ProcessInspection',
    component: () => import('@/views/mes/mes/ProcessInspection.vue')
  }, {
    path: '/ProductMaterialList',
    name: 'ProductMaterialList',
    component: () => import('@/views/mes/mes/ProductMaterialList.vue')
  }, {
    path: '/MaterialBomDetail',
    name: 'MaterialBomDetail',
    component: () => import('@/views/mes/mes/MaterialBomDetail.vue')
  }, {
    path: '/ProcessBomDetail',
    name: 'ProcessBomDetail',
    component: () => import('@/views/mes/mes/ProcessBomDetail.vue')
  }, {
    path: '/ProductExpenseRecordDetail',
    name: 'ProductExpenseRecordDetail',
    component: () => import('@/views/co/co/ProductExpenseRecordDetail.vue')
  }, {
    path: '/ExpenseClassifiy',
    name: 'ExpenseClassifiy',
    component: () => import('@/views/co/co/ExpenseClassifiy.vue')
  }, {
    path: '/ExpenseItem',
    name: 'ExpenseItem',
    component: () => import('@/views/co/co/ExpenseItem.vue')
  }, {
    path: '/ProductExpenseRecord',
    name: 'ProductExpenseRecord',
    component: () => import('@/views/co/co/ProductExpenseRecord.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/DepartmentExpenseAssign',
    name: 'DepartmentExpenseAssign',
    component: () => import('@/views/co/co/DepartmentExpenseAssign.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ExpenseAssginStandard',
    name: 'ExpenseAssginStandard',
    component: () => import('@/views/co/co/ExpenseAssginStandard.vue')
  }, {
    path: '/ProductTaskExpenseAssgin',
    name: 'ProductTaskExpenseAssgin',
    component: () => import('@/views/co/co/ProductTaskExpenseAssgin.vue')
  }, {
    path: '/ProductCosCalculate',
    name: 'ProductCosCalculate',
    component: () => import('@/views/co/co/ProductCosCalculate.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/PeriodExpenseAssgin',
    name: 'PeriodExpenseAssgin',
    component: () => import('@/views/co/co/PeriodExpenseAssgin.vue'),
    meta: {
      dynamic: true,
    }
  }, {
    path: '/ProfessionalTypeClassfiy',
    name: 'ProfessionalTypeClassfiy',
    component: () => import('@/views/mes/mes/ProfessionalTypeClassfiy.vue')
  }, {
    path: '/ProfessionalType',
    name: 'ProfessionalType',
    component: () => import('@/views/mes/mes/ProfessionalType.vue')
  }, {
    path: '/DeviceTransferRecond',
    name: 'DeviceTransferRecond',
    component: () => import('@/views/mes/mes/DeviceTransferRecond.vue')
  }, {
    path: '/StandardWork',
    name: 'StandardWork',
    component: () => import('@/views/mes/mes/StandardWork.vue')
  }, {
    path: '/MaintainPlan',
    name: 'MaintainPlan',
    component: () => import('@/views/mes/mes/MaintainPlan.vue')
  }, {
    path: '/PatrolWorkOrder',
    name: 'PatrolWorkOrder',
    component: () => import('@/views/mes/mes/PatrolWorkOrder.vue')
  }, {
    path: '/RepairWorkOrder',
    name: 'RepairWorkOrder',
    component: () => import('@/views/mes/mes/RepairWorkOrder.vue')
  }, {
    path: '/RepairTaskRoute',
    name: 'RepairTaskRoute',
    component: () => import('@/views/mes/mes/RepairTaskRoute.vue')
  }, {
    path: '/MaintenanceWorkOrder',
    name: 'MaintenanceWorkOrder',
    component: () => import('@/views/mes/mes/MaintenanceWorkOrder.vue')
  }, {
    path: '/OtherWorkOrder',
    name: 'OtherWorkOrder',
    component: () => import('@/views/mes/mes/OtherWorkOrder.vue')
  }, {
    path: '/LotMasterDetail',
    name: 'LotMasterDetail',
    component: () => import('@/views/mes/mes/LotMasterDetail.vue')
  }, {
    path: '/LotMaster',
    name: 'LotMaster',
    component: () => import('@/views/mes/mes/LotMaster.vue')
  }, {
    path: '/PeriodMaterialAccount',
    name: 'PeriodMaterialAccount',
    component: () => import('@/views/co/co/PeriodMaterialAccount.vue')
  }, {
    path: '/IntegrationConfig',
    name: 'IntegrationConfig',
    component: () => import('@/views/mes/mes/IntegrationConfig.vue')
  }, {
    path: '/IntegrationDataConfig',
    name: 'IntegrationDataConfig',
    component: () => import('@/views/mes/mes/IntegrationDataConfig.vue')
  }, {
    path: '/ProcessOutsourceSettlement',
    name: 'ProcessOutsourceSettlement',
    component: () => import('@/views/mes/mes/ProcessOutsourceSettlement.vue')
  }, {
    path: '/MaterialReceiveDispatchReport',
    name: 'MaterialReceiveDispatchReport',
    component: () => import('@/views/mes/mes/Report/MaterialReceiveDispatchReport.vue')
  }, {
    path: '/ImportCostScheme',
    name: 'ImportCostScheme',
    component: () => import('@/views/co/co/ImportCostScheme.vue')
  }, {
    path: '/ImportCostScheme/edit',
    name: 'ImportCostScheme_edit',
    component: () => import('@/views/co/co/ImportCostScheme/Edit.vue'),
    meta: {
      name: "费用导入方案",
      edit: true,
      keepAlive: false
    }
  }, {
    path: '/ImportCostSchemeDetail',
    name: 'ImportCostSchemeDetail',
    component: () => import('@/views/co/co/ImportCostSchemeDetail.vue')
  }, {
    path: '/BillCustomFieldDetail',
    name: 'BillCustomFieldDetail',
    component: () => import('@/views/mes/mes/BillCustomFieldDetail.vue')
  }, {
    path: '/BillCustomField',
    name: 'BillCustomField',
    component: () => import('@/views/mes/mes/BillCustomField.vue')
  }, {
    path: '/PeriodInventory',
    name: 'PeriodInventory',
    component: () => import('@/views/scm/scm/PeriodInventory.vue')
  }]

//上面的demo、MES开头的都是示例菜单，可以任意删除 
export default viewgird
